<ion-view id="approve" view-title="审批" cache-view="false" align-title="center">
    <!-- 页眉 -->
    <ion-header-bar class="bar bar-header assertive-bg" align-title="center">
        <a class="button icon-left ion-ios-arrow-back button-clear button-light "></a>

        <h1 class="title light">审批</h1>
    </ion-header-bar>

    <!-- 内容 -->
    <ion-content class=" has-header scroll-content">

        <div class="list list-inset">
            <div class="orapprove">
                <input type="button" value="审批历史" ng-click="approve(1)">
                <input type="button" value="待审批" ng-click="approve(2)">
            </div>
            <div class="list" ng-repeat="items in tablelist">
                <a href="#/tab/approve-information">
                    <button class="approvebutton"
                            ng-click="tranfer(items)"
                            ng-style="buhide">审批详情页面</button>
                </a>
                <a class="item" href ="{{hrefs}}" ng-click="tranfer(items)" style="border-radius: 10px" hide-tabs>
                    <table class="">
                        <tr>
                            <td>[{{items[0]}}]</td>
                            <td ng-click="show(items)">{{htmlmessage}}</td>
                        </tr>
                        <tr class="tr-one">
                            <td>新建表单</td>
                            <td>{{items[2]}}({{items[1]}})</td>
                        </tr>
                        <tr class="tr-two">
                            <td>单号</td>
                            <td>{{items[3]}}</td>
                        </tr>
                        <tr class="tr-thr">
                            <td>发起方账号</td>
                            <td>{{items[4]}}</td>
                        </tr>
                        <tr class="tr-four">
                            <td>审批状态</td>
                            <td>1</td>
                        </tr>
                        <tr class="tr-five">
                            <td>时间</td>
                            <td>{{items[9].year+1900}}-0{{items[9].month}}-0{{items[9].day}}</td>
                        </tr>
                    </table>

                </a>
            </div>
        </div>
    </ion-content>


</ion-view>
